home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 015a / spath10.zip / SPATH.DOC next >
Text File  |  1991-08-09  |  3KB  |  95 lines

  1.  
  2.                              SmartPath version 1.0
  3.                                by C. Scott Davis
  4.                           (c) 1991 Serious Cybernetics
  5.  
  6.  
  7. -------------------------------------------------------------------------------
  8.  
  9.  
  10. The following files should be contained in SPATH10.ZIP :
  11.  
  12. SPATH.EXE
  13. SPATH.DOC
  14.  
  15.  
  16. -------------------------------------------------------------------------------
  17.  
  18.  
  19. SmartPath is one of those simple little utilities I wrote for my own use, since
  20. I couldn't fine anything like it available anywhere else.  It's purpose is to
  21. allow you to add and remove directories from the PATH.
  22.  
  23. In its simplest form, SmartPath will act like the PATH command.  However, in
  24. addition, it will also allow individual directories to be added and removed
  25. from the PATH and (optionally) display warning messages and/or only allow
  26. existing directories to be added.
  27.  
  28.  
  29. -------------------------------------------------------------------------------
  30.  
  31.  
  32. Usage : SPATH [[=|+|-]path[;...] [/w] [/e]]
  33.           or
  34.         SPATH /p [/w] [/e]
  35.  
  36.   /p  set default parameters
  37.   /w  display warning messages
  38.   /e  add existing directories only
  39.  
  40.  
  41. Examples :
  42.  
  43.   SmartPath ?                     will display a help message
  44.  
  45.   SmartPath !                     will display the current version of SmartPath
  46.  
  47.   SmartPath                       will display the PATH
  48.  
  49.   SmartPath=                      will clear the PATH
  50.  
  51.   SmartPath=newpath               will set the PATH to newpath
  52.  
  53.   SmartPath newpath               will set the PATH to newpath
  54.  
  55.   SmartPath +newpath              will add newpath to the PATH
  56.  
  57.   SmartPath +newpath /w           will add newpath to the PATH and display
  58.                                   a warning message if newpath doesn't exist
  59.                                   or is already in the PATH
  60.  
  61.   SmartPath +newpath /e           will add newpath to the PATH, only if
  62.                                   newpath exists
  63.  
  64.   SmartPath +path1;path2;-path3   will add path1 and path2 to the PATH
  65.                                   and remove path3
  66.  
  67.   SmartPath /p /w                 will set the default SmartPath parameter
  68.                                   to /w (display warning messages)
  69.  
  70.   SmartPath /p                    will clear all default parameters
  71.  
  72.  
  73. -------------------------------------------------------------------------------
  74.  
  75.  
  76. Questions, comments and suggestions are welcome.
  77.  
  78. Send E/Mail to   Scott Davis
  79.                  Phoenix Starfighter BBS [3/12/24/HST]
  80.                  Phone (404) 869-3410
  81.                  FidoNet Node 1:3616/20
  82.  
  83. Send US Mail to  Scott Davis
  84.                  6804 Belton Place
  85.                  Lula, GA 30554
  86.  
  87.  
  88. -------------------------------------------------------------------------------
  89.  
  90.  
  91. SmartPath (c) 1991 Serious Cybernetics
  92. Turbo Pascal (c) 1983, 1989 Borland International
  93.  
  94.  
  95.